﻿using System;
using System.Xml.Serialization;

namespace Interscape.TwilioClient.Components
{
    /// <summary>
    /// The base TwilioClient object that inherits from BaseInfo, and represents information common to all Account-related TwilioAPI responses.
    /// </summary>
    [Serializable]
    public abstract class BaseAccountInfo : BaseInfo
    {

        /// <summary>
        /// Creates a new instance of the BaseAccountInfo object.
        /// </summary>
        protected BaseAccountInfo() : base()
        {
        }

        /// <summary>
        /// Creates a new instance of the BaseAccountInfo object.
        /// </summary>
        /// <param name="sid">A 34 character string that uniquely identifies this resource.</param>
        protected BaseAccountInfo(string sid) : base(sid)
        {
        }

        /// <summary>
        /// A 34 character string that uniquely identifies the Account associated with this resource.
        /// </summary>
        [XmlElement]
        public string AccountSid { get; set; }

    }
}
